Crate worker_macros
source ·Attribute Macros§
- The
event
macro is used to denote a Worker handler, essentially binding from the JS runtime to a Rust function. - Convert an async function which is
!Send
to beSend
.
event
macro is used to denote a Worker handler, essentially binding from
the JS runtime to a Rust function.!Send
to be Send
.